package cn.lzm.system.mapper;

import cn.lzm.system.domain.Permission;
import cn.lzm.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzm
 * @since 2022-10-24
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    Permission findBySn(String permissionSn);

    List<Enum> findByIdList(@Param("menuIds") List<Long> menuIds);
}
